import { defineStore } from 'pinia'
import { ref } from 'vue'

const useSearchStore = defineStore('search', () => {
  const search = ref<string>('')


  const ChangeSearch = (value: string) => {
    search.value = value
  }

  return {
    search,
    ChangeSearch,
  }
})

export default useSearchStore